3.279 \(\int (d \cos (a+b x))^{3/2} \csc ^p(a+b x) \, dx\)

Optimal. Leaf size=76 \[ \frac {d \sqrt {d \cos (a+b x)} \csc ^{p-1}(a+b x) \, _2F_1\left (-\frac {1}{4},\frac {1-p}{2};\frac {3-p}{2};\sin ^2(a+b x)\right )}{b (1-p) \sqrt [4]{\cos ^2(a+b x)}} \]

[Out]

d*csc(b*x+a)^(-1+p)*hypergeom([-1/4, 1/2-1/2*p],[3/2-1/2*p],sin(b*x+a)^2)*(d*cos(b*x+a))^(1/2)/b/(1-p)/(cos(b*
x+a)^2)^(1/4)

________________________________________________________________________________________

Rubi [A]  time = 0.11, antiderivative size = 76, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.095, Rules used = {2587, 2577} \[ \frac {d \sqrt {d \cos (a+b x)} \csc ^{p-1}(a+b x) \, _2F_1\left (-\frac {1}{4},\frac {1-p}{2};\frac {3-p}{2};\sin ^2(a+b x)\right )}{b (1-p) \sqrt [4]{\cos ^2(a+b x)}} \]

Antiderivative was successfully verified.

[In]

Int[(d*Cos[a + b*x])^(3/2)*Csc[a + b*x]^p,x]

[Out]

(d*Sqrt[d*Cos[a + b*x]]*Csc[a + b*x]^(-1 + p)*Hypergeometric2F1[-1/4, (1 - p)/2, (3 - p)/2, Sin[a + b*x]^2])/(
b*(1 - p)*(Cos[a + b*x]^2)^(1/4))

Rule 2577

Int[(cos[(e_.) + (f_.)*(x_)]*(b_.))^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Simp[(b^(2*IntPart
[(n - 1)/2] + 1)*(b*Cos[e + f*x])^(2*FracPart[(n - 1)/2])*(a*Sin[e + f*x])^(m + 1)*Hypergeometric2F1[(1 + m)/2
, (1 - n)/2, (3 + m)/2, Sin[e + f*x]^2])/(a*f*(m + 1)*(Cos[e + f*x]^2)^FracPart[(n - 1)/2]), x] /; FreeQ[{a, b
, e, f, m, n}, x]

Rule 2587

Int[((b_.)*sec[(e_.) + (f_.)*(x_)])^(n_)*((a_.)*sin[(e_.) + (f_.)*(x_)])^(m_), x_Symbol] :> Dist[b^2*(b*Cos[e
+ f*x])^(n - 1)*(b*Sec[e + f*x])^(n - 1), Int[(a*Sin[e + f*x])^m/(b*Cos[e + f*x])^n, x], x] /; FreeQ[{a, b, e,
 f, m, n}, x] &&  !IntegerQ[m] &&  !IntegerQ[n]

Rubi steps

\begin {align*} \int (d \cos (a+b x))^{3/2} \csc ^p(a+b x) \, dx &=\left (\csc ^p(a+b x) \sin ^p(a+b x)\right ) \int (d \cos (a+b x))^{3/2} \sin ^{-p}(a+b x) \, dx\\ &=\frac {d \sqrt {d \cos (a+b x)} \csc ^{-1+p}(a+b x) \, _2F_1\left (-\frac {1}{4},\frac {1-p}{2};\frac {3-p}{2};\sin ^2(a+b x)\right )}{b (1-p) \sqrt [4]{\cos ^2(a+b x)}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.68, size = 105, normalized size = 1.38 \[ -\frac {2 (d \cos (a+b x))^{5/2} \sin ^2(a+b x)^{\frac {p-1}{2}} \csc ^{p-1}(a+b x) \left (5 \cos ^2(a+b x) \, _2F_1\left (\frac {9}{4},\frac {p+1}{2};\frac {13}{4};\cos ^2(a+b x)\right )+9 \, _2F_1\left (\frac {5}{4},\frac {p-1}{2};\frac {9}{4};\cos ^2(a+b x)\right )\right )}{45 b d} \]

Antiderivative was successfully verified.

[In]

Integrate[(d*Cos[a + b*x])^(3/2)*Csc[a + b*x]^p,x]

[Out]

(-2*(d*Cos[a + b*x])^(5/2)*Csc[a + b*x]^(-1 + p)*(9*Hypergeometric2F1[5/4, (-1 + p)/2, 9/4, Cos[a + b*x]^2] +
5*Cos[a + b*x]^2*Hypergeometric2F1[9/4, (1 + p)/2, 13/4, Cos[a + b*x]^2])*(Sin[a + b*x]^2)^((-1 + p)/2))/(45*b
*d)

________________________________________________________________________________________

fricas [F]  time = 0.56, size = 0, normalized size = 0.00 \[ {\rm integral}\left (\sqrt {d \cos \left (b x + a\right )} d \csc \left (b x + a\right )^{p} \cos \left (b x + a\right ), x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*cos(b*x+a))^(3/2)*csc(b*x+a)^p,x, algorithm="fricas")

[Out]

integral(sqrt(d*cos(b*x + a))*d*csc(b*x + a)^p*cos(b*x + a), x)

________________________________________________________________________________________

giac [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*cos(b*x+a))^(3/2)*csc(b*x+a)^p,x, algorithm="giac")

[Out]

Timed out

________________________________________________________________________________________

maple [F]  time = 0.22, size = 0, normalized size = 0.00 \[ \int \left (d \cos \left (b x +a \right )\right )^{\frac {3}{2}} \left (\csc ^{p}\left (b x +a \right )\right )\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*cos(b*x+a))^(3/2)*csc(b*x+a)^p,x)

[Out]

int((d*cos(b*x+a))^(3/2)*csc(b*x+a)^p,x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \left (d \cos \left (b x + a\right )\right )^{\frac {3}{2}} \csc \left (b x + a\right )^{p}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*cos(b*x+a))^(3/2)*csc(b*x+a)^p,x, algorithm="maxima")

[Out]

integrate((d*cos(b*x + a))^(3/2)*csc(b*x + a)^p, x)

________________________________________________________________________________________

mupad [F]  time = 0.00, size = -1, normalized size = -0.01 \[ \int {\left (d\,\cos \left (a+b\,x\right )\right )}^{3/2}\,{\left (\frac {1}{\sin \left (a+b\,x\right )}\right )}^p \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*cos(a + b*x))^(3/2)*(1/sin(a + b*x))^p,x)

[Out]

int((d*cos(a + b*x))^(3/2)*(1/sin(a + b*x))^p, x)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*cos(b*x+a))**(3/2)*csc(b*x+a)**p,x)

[Out]

Timed out

________________________________________________________________________________________